<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>编辑洗车机策略</title>
		<link rel="stylesheet" type="text/css" href="css/clgl-1.css"/>
	</head>
	<body>
		<div class="main_content">
			<div class="con_left">
				<div class="l-box in">
					<a href="clgl.html">洗车机策略设置</a>
				</div>
				<div class="l-box">
					<a href="clgl2.html">售水机策略设置</a>
				</div>
				<div class="l-box">
					<a href="clgl3.html">支付盒子策略设置</a>
				</div>
			</div>
			<div class="con_right fl">
				<div class="r_main">
					<div class="xiugai">
						<header>编辑洗车机策略</header>
						<form action="https://www.hao123.com/" method="post" id="form1">
							<div class="left-con">
								<ul>
									<li><span>默认策略:</span><input type="checkbox" checked="" class="ignore"/><span>(默认策略是唯一的)</span></li>
									<li><span>是否按次消费:</span><input type="checkbox" class="ignore"/></li>
									<li><span>策略名称:</span><input type="text" name="input1" class="required"/></li>
									<li><span>总暂停：</span>时间：<input  type="number"  value="10" name="input2" class="required range"/><span style="width: initial;">分</span></li>
									<li><span>投币启动：</span>金额：<input type="number" value="5" name="input3" class="required range "/><span style="width:initial;">分</span></li>
									<li><span>云支付启动：</span>金额：<input type="number" value="10" name="input4" class="required range"/><span style="width:initial;">分</span></li>
									<li><span>刷卡启动：</span>金额：<input type="number" value="10" name="input5" class="required range"/><span style="width:initial;">分</span></li>
									<li><span>清水：</span>时间：<input type="number" value="20" name="input6" class="required range"/><span style="width:initial;">秒/1元</span></li>
									<li><span>泡沫：</span>时间：<input type="number" value="10" name="input7" class="required range"/><span style="width:initial;">秒/1元</span>	</li>
									<li><span>吸尘：</span>时间：<input type="number" value="5" name="input8" class="required range"/><span style="width:initial;">秒/1元</span></li>
									<li><span>常压水：</span>时间：<input type="number" value="5" name="input9" class="required range"/><span style="width:initial;">秒/1元</span></li>
									<li><span>玻璃水：</span>时间：<input type="number" value="10" name="input10" class="required range"/><span style="width:initial;">秒/1元</span></li>
									<li><span>消毒：</span>时间：<input type="number" value="30" name="input11" class="required range"/><span style="width:initial;">秒/1元</span></li>
								</ul>
							</div>
							<div class="right-con">
								<div class="warp-time">
									<span>照明：</span>
									<div class="warp-child">
										<div class="s-one d-i-b d-i-b">开灯：
											<div class="f-inp-s d-i-b sssh">
												<div>
													<select name='make'>
													    <option value='全部' selected>请选择</option>
													    <option value="0">0</option>
													    <option value="1">1</option>
													    <option value="2">2</option>
													    <option value="3">3</option>
													    <option value="4">4</option>
													    <option value="5">5</option>
													    <option value="6">6</option>
													    <option value="7">7</option>
													    <option value="8">8</option>
													    <option value="9">9</option>
													    <option value="10">10</option>
													    <option value="11">11</option>
													    <option value="12">12</option>
													    <option value="13">13</option>
													    <option value="14">14</option>
													    <option value="15">15</option>
													    <option value="16">16</option>
													    <option value="17">17</option>
													    <option value="18">18</option>
													    <option value="19">19</option>
													    <option value="20">20</option>
													    <option value="21">21</option>
													    <option value="22">22</option>
													    <option value="23">23</option>		
													</select>
												</div>
												<div class="s_img">
													<img src="img/select.png"/>
												</div>
											</div>
										</div>时
										<div class="s-one d-i-b d-i-b">
											<div class="f-inp-s d-i-b sssh">
												<div>
													<select name='make'>
													    <option value='请选择' selected>请选择</option>
													    <option value="0">0</option>
													    <option value="1">1</option>
													    <option value="2">2</option>
													    <option value="3">3</option>
													    <option value="4">4</option>
													    <option value="5">5</option>
													    <option value="6">6</option>
													    <option value="7">7</option>
													    <option value="8">8</option>
													    <option value="9">9</option>
													    <option value="10">10</option>
													    <option value="11">11</option>
													    <option value="12">12</option>
													    <option value="13">13</option>
													    <option value="14">14</option>
													    <option value="15">15</option>
													    <option value="16">16</option>
													    <option value="17">17</option>
													    <option value="18">18</option>
													    <option value="19">19</option>
													    <option value="20">20</option>
													    <option value="21">21</option>
													    <option value="22">22</option>
													    <option value="23">23</option>
													    <option value="24">24</option>
													    <option value="25">25</option>
													    <option value="26">26</option>
													    <option value="27">27</option>
													    <option value="28">28</option>
													    <option value="29">29</option>
													    <option value="30">30</option>
													    <option value="31">31</option>
													    <option value="32">32</option>
													    <option value="33">33</option>
													    <option value="34">34</option>
													    <option value="35">35</option>
													    <option value="36">36</option>
													    <option value="37">37</option>
													    <option value="38">38</option>
													    <option value="39">39</option>
													    <option value="40">40</option>
													    <option value="41">41</option>
													    <option value="42">42</option>
													    <option value="43">43</option>
													    <option value="44">44</option>
													    <option value="45">45</option>
													    <option value="46">46</option>
													    <option value="47">47</option>
													    <option value="48">48</option>
													    <option value="49">49</option>
													    <option value="50">50</option>
													    <option value="51">51</option>
													    <option value="52">52</option>
													    <option value="53">53</option>
													    <option value="54">54</option>
													    <option value="55">55</option>
													    <option value="56">56</option>
													    <option value="57">57</option>
													    <option value="58">58</option>
													    <option value="59">59</option>
													</select>
												</div>
												<div class="s_img">
													<img src="img/select.png"/>
												</div>
											</div>
										</div>分<br />
										<div class="s-one d-i-b d-i-b">关灯：
											<div class="f-inp-s d-i-b sssh">
												<div>
													<select name='make'>
													    <option value='全部' selected>请选择</option>
													    <option value="0">0</option>
													    <option value="1">1</option>
													    <option value="2">2</option>
													    <option value="3">3</option>
													    <option value="4">4</option>
													    <option value="5">5</option>
													    <option value="6">6</option>
													    <option value="7">7</option>
													    <option value="8">8</option>
													    <option value="9">9</option>
													    <option value="10">10</option>
													    <option value="11">11</option>
													    <option value="12">12</option>
													    <option value="13">13</option>
													    <option value="14">14</option>
													    <option value="15">15</option>
													    <option value="16">16</option>
													    <option value="17">17</option>
													    <option value="18">18</option>
													    <option value="19">19</option>
													    <option value="20">20</option>
													    <option value="21">21</option>
													    <option value="22">22</option>
													    <option value="23">23</option>		
													</select>
												</div>
												<div class="s_img">
													<img src="img/select.png"/>
												</div>
											</div>
										</div>时
										<div class="s-one d-i-b d-i-b">
											<div class="f-inp-s d-i-b sssh">
												<div>
													<select name='make'>
													    <option value='请选择' selected>请选择</option>
													    <option value="0">0</option>
													    <option value="1">1</option>
													    <option value="2">2</option>
													    <option value="3">3</option>
													    <option value="4">4</option>
													    <option value="5">5</option>
													    <option value="6">6</option>
													    <option value="7">7</option>
													    <option value="8">8</option>
													    <option value="9">9</option>
													    <option value="10">10</option>
													    <option value="11">11</option>
													    <option value="12">12</option>
													    <option value="13">13</option>
													    <option value="14">14</option>
													    <option value="15">15</option>
													    <option value="16">16</option>
													    <option value="17">17</option>
													    <option value="18">18</option>
													    <option value="19">19</option>
													    <option value="20">20</option>
													    <option value="21">21</option>
													    <option value="22">22</option>
													    <option value="23">23</option>
													    <option value="24">24</option>
													    <option value="25">25</option>
													    <option value="26">26</option>
													    <option value="27">27</option>
													    <option value="28">28</option>
													    <option value="29">29</option>
													    <option value="30">30</option>
													    <option value="31">31</option>
													    <option value="32">32</option>
													    <option value="33">33</option>
													    <option value="34">34</option>
													    <option value="35">35</option>
													    <option value="36">36</option>
													    <option value="37">37</option>
													    <option value="38">38</option>
													    <option value="39">39</option>
													    <option value="40">40</option>
													    <option value="41">41</option>
													    <option value="42">42</option>
													    <option value="43">43</option>
													    <option value="44">44</option>
													    <option value="45">45</option>
													    <option value="46">46</option>
													    <option value="47">47</option>
													    <option value="48">48</option>
													    <option value="49">49</option>
													    <option value="50">50</option>
													    <option value="51">51</option>
													    <option value="52">52</option>
													    <option value="53">53</option>
													    <option value="54">54</option>
													    <option value="55">55</option>
													    <option value="56">56</option>
													    <option value="57">57</option>
													    <option value="58">58</option>
													    <option value="59">59</option>
													</select>
												</div>
												<div class="s_img">
													<img src="img/select.png"/>
												</div>
											</div>
										</div>分
									</div>
								</div>
								<div class="warp-time">
									<span>广告：</span>
									<div class="warp-child">
										
										<div class="s-one d-i-b d-i-b">开灯：
											<div class="f-inp-s d-i-b sssh">
												<div>
													<select name='make'>
													    <option value='全部' selected>请选择</option>
													    <option value="0">0</option>
													    <option value="1">1</option>
													    <option value="2">2</option>
													    <option value="3">3</option>
													    <option value="4">4</option>
													    <option value="5">5</option>
													    <option value="6">6</option>
													    <option value="7">7</option>
													    <option value="8">8</option>
													    <option value="9">9</option>
													    <option value="10">10</option>
													    <option value="11">11</option>
													    <option value="12">12</option>
													    <option value="13">13</option>
													    <option value="14">14</option>
													    <option value="15">15</option>
													    <option value="16">16</option>
													    <option value="17">17</option>
													    <option value="18">18</option>
													    <option value="19">19</option>
													    <option value="20">20</option>
													    <option value="21">21</option>
													    <option value="22">22</option>
													    <option value="23">23</option>		
													</select>
												</div>
												<div class="s_img">
													<img src="img/select.png"/>
												</div>
											</div>
										</div>时
										<div class="s-one d-i-b d-i-b">
											<div class="f-inp-s d-i-b sssh">
												<div>
													<select name='make'>
													     <option value='请选择' selected>请选择</option>
													    <option value="0">0</option>
													    <option value="1">1</option>
													    <option value="2">2</option>
													    <option value="3">3</option>
													    <option value="4">4</option>
													    <option value="5">5</option>
													    <option value="6">6</option>
													    <option value="7">7</option>
													    <option value="8">8</option>
													    <option value="9">9</option>
													    <option value="10">10</option>
													    <option value="11">11</option>
													    <option value="12">12</option>
													    <option value="13">13</option>
													    <option value="14">14</option>
													    <option value="15">15</option>
													    <option value="16">16</option>
													    <option value="17">17</option>
													    <option value="18">18</option>
													    <option value="19">19</option>
													    <option value="20">20</option>
													    <option value="21">21</option>
													    <option value="22">22</option>
													    <option value="23">23</option>
													    <option value="24">24</option>
													    <option value="25">25</option>
													    <option value="26">26</option>
													    <option value="27">27</option>
													    <option value="28">28</option>
													    <option value="29">29</option>
													    <option value="30">30</option>
													    <option value="31">31</option>
													    <option value="32">32</option>
													    <option value="33">33</option>
													    <option value="34">34</option>
													    <option value="35">35</option>
													    <option value="36">36</option>
													    <option value="37">37</option>
													    <option value="38">38</option>
													    <option value="39">39</option>
													    <option value="40">40</option>
													    <option value="41">41</option>
													    <option value="42">42</option>
													    <option value="43">43</option>
													    <option value="44">44</option>
													    <option value="45">45</option>
													    <option value="46">46</option>
													    <option value="47">47</option>
													    <option value="48">48</option>
													    <option value="49">49</option>
													    <option value="50">50</option>
													    <option value="51">51</option>
													    <option value="52">52</option>
													    <option value="53">53</option>
													    <option value="54">54</option>
													    <option value="55">55</option>
													    <option value="56">56</option>
													    <option value="57">57</option>
													    <option value="58">58</option>
													    <option value="59">59</option>
													</select>
												</div>
												<div class="s_img">
													<img src="img/select.png"/>
												</div>
											</div>
										</div>分<br />
										<div class="s-one d-i-b d-i-b">关灯：
											<div class="f-inp-s d-i-b sssh">
												<div>
													<select name='make'>
													    <option value='全部' selected>请选择</option>
													    <option value="0">0</option>
													    <option value="1">1</option>
													    <option value="2">2</option>
													    <option value="3">3</option>
													    <option value="4">4</option>
													    <option value="5">5</option>
													    <option value="6">6</option>
													    <option value="7">7</option>
													    <option value="8">8</option>
													    <option value="9">9</option>
													    <option value="10">10</option>
													    <option value="11">11</option>
													    <option value="12">12</option>
													    <option value="13">13</option>
													    <option value="14">14</option>
													    <option value="15">15</option>
													    <option value="16">16</option>
													    <option value="17">17</option>
													    <option value="18">18</option>
													    <option value="19">19</option>
													    <option value="20">20</option>
													    <option value="21">21</option>
													    <option value="22">22</option>
													    <option value="23">23</option>	
													</select>
												</div>
												<div class="s_img">
													<img src="img/select.png"/>
												</div>
											</div>
										</div>时
										<div class="s-one d-i-b d-i-b">
											<div class="f-inp-s d-i-b sssh">
												<div>
													<select name='make'>
													     <option value='请选择' selected>请选择</option>
													    <option value="0">0</option>
													    <option value="1">1</option>
													    <option value="2">2</option>
													    <option value="3">3</option>
													    <option value="4">4</option>
													    <option value="5">5</option>
													    <option value="6">6</option>
													    <option value="7">7</option>
													    <option value="8">8</option>
													    <option value="9">9</option>
													    <option value="10">10</option>
													    <option value="11">11</option>
													    <option value="12">12</option>
													    <option value="13">13</option>
													    <option value="14">14</option>
													    <option value="15">15</option>
													    <option value="16">16</option>
													    <option value="17">17</option>
													    <option value="18">18</option>
													    <option value="19">19</option>
													    <option value="20">20</option>
													    <option value="21">21</option>
													    <option value="22">22</option>
													    <option value="23">23</option>
													    <option value="24">24</option>
													    <option value="25">25</option>
													    <option value="26">26</option>
													    <option value="27">27</option>
													    <option value="28">28</option>
													    <option value="29">29</option>
													    <option value="30">30</option>
													    <option value="31">31</option>
													    <option value="32">32</option>
													    <option value="33">33</option>
													    <option value="34">34</option>
													    <option value="35">35</option>
													    <option value="36">36</option>
													    <option value="37">37</option>
													    <option value="38">38</option>
													    <option value="39">39</option>
													    <option value="40">40</option>
													    <option value="41">41</option>
													    <option value="42">42</option>
													    <option value="43">43</option>
													    <option value="44">44</option>
													    <option value="45">45</option>
													    <option value="46">46</option>
													    <option value="47">47</option>
													    <option value="48">48</option>
													    <option value="49">49</option>
													    <option value="50">50</option>
													    <option value="51">51</option>
													    <option value="52">52</option>
													    <option value="53">53</option>
													    <option value="54">54</option>
													    <option value="55">55</option>
													    <option value="56">56</option>
													    <option value="57">57</option>
													    <option value="58">58</option>
													    <option value="59">59</option>
													</select>
												</div>
												<div class="s_img">
													<img src="img/select.png"/>
												</div>
											</div>
										</div>分
									</div>
									</div>
								<div class="warp-time">
									<span>原液：</span>
									<div class="warp-child">
										时间：<input type="text" name="input12" value="" class="required range"/>秒
										<span style="color: red;display: none;width: initial;">*</span>
									</div>
								</div>
								<div class="warp-time">
									<span>保温：</span>
									<div class="warp-child">
										<div>上限：<input type="text" name="input13" value="" class="required range"/>℃</div>
										<div>下限：<input type="text" name="input14" value="" class="required range"/>℃	</div>

									</div>
								</div>
								<div class="warp-time">
									<span>排空：</span>
									<div class="warp-child">
										<div>时间：<input type="text" name="input15" value="" class="required range"/>秒</div>
										<div>温度：<input type="text" name="input16"  value="" class="required range"/>℃</div>
									</div>
								</div><br />
								<input type="submit" value="保存" id="save"/>
								<input type="button" value="返回" id="back" onclick="javascript:window.location.href='clgl.html'" class="ignore"/>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
		<script src="js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/validate.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/index.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/dtjk.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$('.erweima').on('click',function(){
				$(".mask").fadeIn();
				$("#openWindowModal1").fadeIn();
			})
			$(".mask").on('click',function(){
				$(".mask").fadeOut();
				$("#openWindowModal").fadeOut();
				$("#openWindowModal1").fadeOut();
				$(".xiangxi").fadeOut();
			})
			$(".btn").on('click',function(){
				$(".mask").fadeOut();
				$("#openWindowModal").fadeOut();
				$("#openWindowModal1").fadeOut();
			})
			$(".close").on('click',function(){
				$(".mask").fadeOut();
				$("#openWindowModal").fadeOut();
				$("#openWindowModal1").fadeOut();
			})
			$("#form1").validate({
		 		ignore: ".ignore",
		 		errorPlacement: function(error, element) {  
				    error.appendTo(element.parent());  
				},
		        rules: {
					input1:{
						required:true,
					},
					input2:{
						required:true,
						range:[1,255]
					},
					input3:{
						required:true,
						range:[1,9999]
					},
					input4:{
						required:true,
						range:[1,9999]
					},
					input5:{
						required:true,
						range:[1,9999]
					},
					input6:{
						required:true,
						range:[1,9999]
					},
					input7:{
						required:true,
						range:[1,9999]
					},
					input8:{
						required:true,
						range:[1,9999]
					},
					input9:{
						required:true,
						range:[1,9999]
					},
					input10:{
						required:true,
						range:[1,9999]
					},
					input11:{
						required:true,
						range:[1,9999]
					},
					input12:{
						required:true,
						range:[1,9999]
					},
					input13:{
						required:true,
						range:[0,99]
					},
					input14:{
						required:true,
						range:[0,99]
					},
					input15:{
						required:true,
						range:[0,255]
					},
					input16:{
						required:true,
						range:[0,255]
					}
			   	},
		        messages: {
				   input1:{
		       	       required:'*',
				   },
				   input2:{
		       	       required:'*',
		       	       range:'必须是正整数（1-255）'
				   },
				   input3:{
		       	       required:'*',
		       	       range:'必须是正整数（1-9999）'
				   },
				   input4:{
		       	       required:'*',
		       	       range:'必须是正整数（1-9999）'
				   },
				   input5:{
		       	       required:'*',
		       	       range:'必须是正整数（1-9999）'
				   },
				   input6:{
		       	       required:'*',
		       	       range:'必须是正整数（1-9999）'
				   },
				   input7:{
		       	       required:'*',
		       	       range:'必须是正整数（1-9999）'
				   },
				   input8:{
		       	       required:'*',
		       	       range:'必须是正整数（1-9999）'
				   },
				   input9:{
		       	       required:'*',
		       	       range:'必须是正整数（1-9999）'
				   },
				   input10:{
		       	       required:'*',
		       	       range:'必须是正整数（1-9999）'
				   },
				   input11:{
		       	       required:'*',
		       	       range:'必须是正整数（1-9999）'
				   },
				   input12:{
		       	       required:'*',
		       	       range:'必须是正整数（1-9999）'
				   },
				   input13:{
		       	       required:'*',
		       	       range:'必须是正整数（0-99）'
				   },
				   input14:{
		       	       required:'*',
		       	       range:'必须是正整数（0-99）'
				   },
				   input15:{
		       	       required:'*',
		       	       range:'必须是正整数（0-255）'
				   },
				   input16:{
		       	       required:'*',
		       	       range:'必须是正整数（0-255）'
				   }
				}
		        })
		</script>
	</body>
</html>
